package com.li.shop.service;

import com.li.shop.domain.Message;
import com.li.shop.domain.MessageExample;

import java.util.List;

public interface MessageService {
    List<Message> listMessage();
    List<Message> findAll(String id);
    List<Message> findAllUser();

//    Message findById(int msId);
//
//
//    List<Message> findByName(String message);

    //Message findMessageByPrimaryKey(String id);
    // List<Message> searchUsers(SearchMessageRequest request);
    int saveMessage(Message message);

    List<Message> find(MessageExample example);
    Message s(String uId, String pId);

    List<Message> selectByuid(MessageExample messageExample);

    List<Message> findUserAllMessage(String id);

    int deleteUserMesByPrimaryKey(String id);
}
